package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.XcxUser;

import java.util.Date;

/**
 * 小程序用户业务对象 xcx_user
 *
 * @author maoningchuan
 * @date 2025-09-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = XcxUser.class, reverseConvertGenerate = false)
public class XcxUserBindSysUserBo extends BaseEntity {

    /**
     * 小程序用户ID
     */
    @NotNull(message = "小程序用户ID", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 关联用户ID
     */
    @NotNull(message = "关联用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sysUserId;



}
